package com.lx.pc.service.category;

import java.math.BigInteger;
import java.util.List;

import com.lx.pc.domain.vo.category.CategoryVo;
import com.lx.pc.service.IService;
import com.lx.pc.utils.OmsPage;

public interface ICategoryService extends IService<CategoryVo, BigInteger>{
	
	/**
	 * 查询总数
	 */
	public int findByCategoryCount(CategoryVo category);
	
	/**
	 * 查询所有
	 * @return
	 */
	public OmsPage<CategoryVo> findByCategory(CategoryVo category,Integer page,Integer size);
	
	/**
	 * 返回集合
	 * @param category
	 * @return
	 */
	public List<CategoryVo> findByCategoryList(CategoryVo category);

}
